package com.actionpals.components.controls.calendar
{
	public class CalendarDateStyle
	{
		private var _upStyle:CalendarDateStateStyle;
		private var _overStyle:CalendarDateStateStyle;
		private var _selectedStyle:CalendarDateStateStyle;
		private var _visitedUpStyle:CalendarDateStateStyle;
		private var _visitedOverStyle:CalendarDateStateStyle;
		
		public function CalendarDateStyle( upStyle:CalendarDateStateStyle=null, overStyle:CalendarDateStateStyle=null, selectedStyle:CalendarDateStateStyle=null, visitedUpStyle:CalendarDateStateStyle=null, visitedOverStyle:CalendarDateStateStyle=null )
		{
			this.upStyle = upStyle;
			this.overStyle = overStyle;
			this.selectedStyle = selectedStyle;
			this.visitedUpStyle = visitedUpStyle;
			this.visitedOverStyle = visitedOverStyle;
		}
		
		public function get upStyle():CalendarDateStateStyle
		{
			return _upStyle;
		}
		public function set upStyle( value:CalendarDateStateStyle ):void
		{
			_upStyle = value;
		}
		
		public function get overStyle():CalendarDateStateStyle
		{
			return _overStyle;
		}
		public function set overStyle( value:CalendarDateStateStyle ):void
		{
			_overStyle = value;
		}
		
		public function get selectedStyle():CalendarDateStateStyle
		{
			return _selectedStyle;
		}
		public function set selectedStyle( value:CalendarDateStateStyle ):void
		{
			_selectedStyle = value;
		}
		
		public function get visitedUpStyle():CalendarDateStateStyle
		{
			return _visitedUpStyle;
		}
		public function set visitedUpStyle( value:CalendarDateStateStyle ):void
		{
			_visitedUpStyle = value;
		}
		
		public function get visitedOverStyle():CalendarDateStateStyle
		{
			return _visitedOverStyle;
		}
		public function set visitedOverStyle( value:CalendarDateStateStyle ):void
		{
			_visitedOverStyle = value;
		}
		
		public function clone():CalendarDateStyle
		{
			return new CalendarDateStyle( upStyle.clone(), overStyle.clone(), selectedStyle.clone(), visitedUpStyle.clone(), visitedOverStyle.clone() );
		}
		
	}
}